import { createRouter, createWebHistory } from "vue-router"
import AlarmManagement from "../components/AlarmManagement.vue"
import AttackPathGraph from "../components/AttackPathGraph.vue"

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/alarm-management"
    },
    {
      path: "/alarm-management",
      name: "AlarmManagement",
      component: AlarmManagement
    },
    {
      path: "/attack-path",
      name: "AttackPath",
      component: AttackPathGraph
    }
  ]
})

export default router 